package com.LFL.ajyx;

import javax.servlet.*;
import javax.servlet.http.*;
import java.io.IOException;

public class ContentServlet extends HttpServlet {
    @Override
    protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
        response.setContentType("text/html;charset=utf-8");
        response.getWriter().println("<b style='color:red'>I am ContentServlet</b>");
    }

    @Override
    protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {

    }
}
